function betaq0 = initialguessFq(K_q,CDForQuantileFun)
if strcmpi(CDForQuantileFun,'Quantile')
    if K_q==5
        betaq0 = 1.0e+02 *[0.006192440680909
            0.006192450680909
            0.035718054840512
            0.056150500592096
            0.141121038728139
            0.276571888463987
            0.675217302717694
            1.599999980000000
            0.007714057883844
            0.023570567717285
            0.023570577717285
            0.097286480721289
            0.215249042036731
            0.517425533771568
            0.939946903557529
            1.599999990000000
            0.019380196046893
            0.019910047238934
            0.030840943210650
            0.135739468916507
            0.299160950862970
            0.549506814855952
            1.495829283546024
            1.600000000000000] ;
    elseif K_q==6
        betaq0 = 1.0e+02 *[0.009009395932346
            0.009009405932348
            0.010190033971883
            0.046041352186456
            0.070759346820137
            0.111347008418542
            0.238372721836423
            0.461639586788989
            1.519915331707819
            0.009009405932347
            0.009009415932348
            0.034107718688743
            0.043025918617977
            0.100752112649850
            0.197358513074913
            0.395242510377141
            0.797378045641612
            1.519915341707819
            0.019014517604070
            0.019014527604071
            0.021750373479677
            0.072064581518625
            0.128891591978037
            0.294343730252104
            0.387989973581553
            1.128651693432766
            1.599999999999998] ;
    elseif K_q==7
        betaq0 = 1.0e+02 *[0.008854771336628
            0.008854781336629
            0.008854791336629
            0.036691047511538
            0.059867463934505
            0.081924085292947
            0.148977508369603
            0.255658762510038
            0.567051543198658
            1.599999979997450
            0.009647574817947
            0.009647584818263
            0.021233317753569
            0.050356765353489
            0.062649853324926
            0.146599525636015
            0.236087325647767
            0.468539881511015
            0.865163424195287
            1.599999989997457
            0.019026630285870
            0.019026640285873
            0.020592250332322
            0.056217777313569
            0.100908272214122
            0.193936490736069
            0.323428186851300
            0.474493527688820
            1.291067437581952
            1.599999999997523] ;
    elseif K_q==8
        betaq0 = 1.0e+02*[0.008696710781629
            0.008696720781629
            0.008696730781629
            0.030338931431551
            0.047665788175907
            0.078561590402435
            0.090643898174268
            0.186958985907777
            0.266990508473954
            0.681560313914707
            1.599999979999898
            0.009576906324031
            0.009576916324043
            0.019123583715552
            0.042664443609763
            0.057850414385041
            0.097145456702410
            0.181615183375896
            0.278142517942018
            0.530711499309023
            0.925134850180137
            1.599999989999899
            0.018619019098827
            0.018619029098827
            0.018619039098827
            0.048754158504408
            0.079766318411799
            0.144378967268021
            0.241164543951224
            0.351924196254711
            0.564690527787122
            1.457125390827039
            1.599999999999902] ;
    elseif K_q==9
        betaq0 = 1.0e+02*[0.009419753298929
            0.009419763298930
            0.009419773298930
            0.019812093344720
            0.050791196661675
            0.050791206661675
            0.098553293173142
            0.098553303173149
            0.221771113037772
            0.284014923960599
            0.784131395446590
            1.599999979997752
            0.009688389829875
            0.009688399829878
            0.015735345745903
            0.039243476651599
            0.051366264716722
            0.075809226186933
            0.133420381624278
            0.209127264252223
            0.322382744827167
            0.584649720767592
            0.973744702059891
            1.599999989997756
            0.018588194225856
            0.018588204225857
            0.018588214225857
            0.040588904074131
            0.070147146007239
            0.109944883529435
            0.186834860831801
            0.277287858062816
            0.381063708397191
            0.663388266585389
            1.599999989997991
            1.599999999998326] ;
    elseif K_q==10
        betaq0 = 1.0e+02*[0.009423458649134
            0.009423468649134
            0.009423478649134
            0.017223380817340
            0.039573626091391
            0.059266499274693
            0.059266509274693
            0.112495364189902
            0.115925588009021
            0.248807561353755
            0.306296893007242
            0.885541519251559
            1.490400901617681
            0.009785876160714
            0.009785886160714
            0.013004493545090
            0.036380244381676
            0.045581759807709
            0.067241876799350
            0.097068328343244
            0.167470522649334
            0.232718096022659
            0.368228278678212
            0.629711023687791
            1.017803451350340
            1.490400911617681
            0.018427380850968
            0.018427390850968
            0.018427400850968
            0.035669071617693
            0.060742461535038
            0.091383641217009
            0.147058654094378
            0.219356604459213
            0.311498799602637
            0.408143973865696
            0.782350166149848
            1.599999990000000
            1.600000000000000];
    end
elseif strcmpi(CDForQuantileFun,'CDF')
    if K_q==5  %%%%MainObjFunComponent=6.22e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000081938993383
            0.135165149861591
            0.333168008730034
            0.699072302235361
            0.930912977996363
            0.936574509194544
            0.999761747141264
            0.999945466365010
            0.000058445613178
            0.027959344911244
            0.305115839909598
            0.542110543091368
            0.863480590959223
            0.915945031190043
            0.940230417286356
            0.999918579545153
            0.000015199102506
            0.030268973519917
            0.251080925073761
            0.450813424982232
            0.822962775462957
            0.900057418565255
            0.900486216186320
            0.999900463617755] ;
    elseif K_q==6  %%%%MainObjFunComponent=4.98e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000093279928831
            0.128852236861977
            0.230456896307273
            0.519282581819587
            0.744975904523733
            0.927566077777302
            0.938999928392618
            0.999901474110358
            0.999902476317091
            0.000091244804060
            0.028224319650345
            0.181890623842695
            0.437261354409704
            0.590000291670468
            0.871196132704890
            0.902630041411906
            0.996069020638001
            0.999901000000109
            0.000000429331700
            0.029473403285928
            0.165405617489906
            0.352320109120444
            0.507231434118249
            0.834008601058048
            0.877913974832482
            0.993500956878676
            0.999900000000053] ;
    elseif K_q==7  %%%%MainObjFunComponent=4.99e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000020095419765
            0.093150385722703
            0.211442542091493
            0.392124629316827
            0.622733622779653
            0.776753508659273
            0.924975699671502
            0.944927232419336
            0.999887752145555
            0.999902476398547
            0.000007746197472
            0.016296450124342
            0.129060525674718
            0.344674823042928
            0.500026517319781
            0.633361473649569
            0.873141575580839
            0.904010645969253
            0.999549814067750
            0.999901000009308
            0.000006745950519
            0.014789342120331
            0.137690348122563
            0.269716522131927
            0.420619672519415
            0.553956033632727
            0.838797912922220
            0.876313954727319
            0.999325923545576
            0.999900000003671] ;
    elseif K_q==8  %%%%MainObjFunComponent=4.59e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000079123741801
            0.051266225064558
            0.231665931400207
            0.297060225643883
            0.536437074374849
            0.670138207834091
            0.806284970909730
            0.913929428357954
            0.975855386899696
            0.999592563034352
            0.999967835694840
            0.000049841286549
            0.005045834950273
            0.120541815100110
            0.261312636810275
            0.441968843563935
            0.539610258597500
            0.669861423036285
            0.868978624920803
            0.920169035949262
            0.928612175742938
            0.999929514043964
            0.000020418995142
            0.001430903508698
            0.119851507569052
            0.218066144647776
            0.355786398659043
            0.462944514549787
            0.591312795297298
            0.843028333005091
            0.880607419188048
            0.881173269308066
            0.999903683789840] ;
    elseif K_q==9  %%%%MainObjFunComponent=3.78e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000078443707777
            0.021397980902319
            0.236911424929077
            0.250135168759104
            0.446291681509999
            0.578229129309300
            0.711955484105121
            0.821126160394600
            0.918428921279751
            0.963751814595897
            0.999715421376236
            0.999958045124484
            0.000047750611281
            0.000236655566089
            0.112264910577538
            0.207127305447445
            0.379706570444364
            0.470062207893007
            0.575272122520472
            0.695767759787418
            0.868472565278654
            0.925678072736882
            0.939573349976075
            0.999923583111456
            0.000019123891264
            0.000593340423957
            0.102868493717263
            0.195243569370821
            0.290465835183950
            0.400327997141133
            0.488136107693067
            0.628360744205853
            0.837407664058445
            0.898776342468593
            0.899298186335240
            0.999900362484848] ;
    elseif K_q==10  %%%%MainObjFunComponent=3.57e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000065138865217
            0.005920152695972
            0.218975470073354
            0.242027616146898
            0.368381084971558
            0.530008239502219
            0.640744027449593
            0.747711226987376
            0.837426408533922
            0.918758848791553
            0.962755603694391
            0.999895750837768
            0.999902476354717
            0.000001729030639
            0.000003062357121
            0.093724251588328
            0.184560249510501
            0.319297543352001
            0.435293100137717
            0.517067873070988
            0.613994927052410
            0.720217800857303
            0.869249974276890
            0.922865426720870
            0.994465896570197
            0.999901000002807
            0.000000362887120
            0.000267476748902
            0.091495011698396
            0.173830511445606
            0.256269216456154
            0.349746039292367
            0.448537555546154
            0.523204818019872
            0.662593835665302
            0.836336276050826
            0.895836304138372
            0.990819379356703
            0.999900000001349] ;
    elseif K_q==11  %%%%MainObjFunComponent=3.15e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000078932602247
            0.004926110041948
            0.185986604930190
            0.247836542396603
            0.305526080018954
            0.473523761292484
            0.560333446011964
            0.692663126019904
            0.760327573560234
            0.853992304974588
            0.913159858022267
            0.978692279773074
            0.999632579390626
            0.999950994309533
            0.000049385179464
            0.000620347247371
            0.070243109842341
            0.180565391048716
            0.255528093757893
            0.399398652902693
            0.460622253120348
            0.551652574128404
            0.638909414088829
            0.739047134373987
            0.866469219135883
            0.936203536546199
            0.944518488727366
            0.999920699781247
            0.000018912146981
            0.000277811665078
            0.070344044978052
            0.161434281113534
            0.224695550720097
            0.310383324212670
            0.384069775275309
            0.480092020022387
            0.548530073456633
            0.686775949187716
            0.836005073508994
            0.907045502797877
            0.907484994140474
            0.999900287307143] ;
    elseif K_q==12  %%%%MainObjFunComponent=2.64e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000010277514529
            0.000013093411088
            0.165937891171682
            0.235760144225210
            0.289786278772561
            0.395093741314105
            0.541327584202024
            0.592306043391408
            0.727600542490489
            0.768883695462340
            0.863633150050754
            0.913103461117129
            0.978609638846763
            0.990969979576863
            0.999902476393292
            0.000007244572729
            0.001754147517899
            0.047794682799711
            0.176022214937130
            0.211382852944958
            0.363064309549039
            0.420356564198661
            0.503952726658626
            0.568372385918053
            0.662094872630451
            0.748746595707448
            0.866705288970005
            0.935807482344444
            0.979630441333065
            0.999901000002809
            0.000000535822592
            0.000002244181252
            0.053858181877919
            0.146194129046862
            0.210794465329517
            0.268528108411370
            0.359723955999276
            0.411352197577124
            0.504987597117368
            0.568026843816441
            0.703037440727158
            0.835536859197598
            0.906910246829419
            0.971994687916478
            0.999900000001349] ;
    elseif K_q==15  %%%%MainObjFunComponent=2.22e-05; SecondaryObjFunComponent=0.0656
        betaq0 = [0.000079202628506
            0.049159483732612
            0.084085484369883
            0.228911245867257
            0.238181795600752
            0.314142797188582
            0.380479389176314
            0.492884836018000
            0.566961911480565
            0.625778458831688
            0.724353387988627
            0.768870778853832
            0.816351369195043
            0.888179246694620
            0.912955439184057
            0.989107067033150
            0.999375946482687
            0.999906222448408
            0.000050046629471
            0.009350914333531
            0.014001572820498
            0.135162328593685
            0.176114741821799
            0.245809977347663
            0.333840720224260
            0.414705476905669
            0.446507924962019
            0.526713673645322
            0.574113822160201
            0.641535814696515
            0.718990399358200
            0.779333956234864
            0.870458930531243
            0.943847708162442
            0.948305608708718
            0.999902504588927
            0.000020872571516
            0.003321896011323
            0.010986984389918
            0.123635912877990
            0.154991041197110
            0.225258234743679
            0.264399508454659
            0.321956319588766
            0.391575381847546
            0.429400844708498
            0.511196854407463
            0.555341969942447
            0.645751068649181
            0.744459425391408
            0.841185685853887
            0.913635840485733
            0.913829322914316
            0.999900004799855] ;
    end
else
    error('INITIALQUESSFq:BadInput','CDForQuantileFun (2nd argument) must be either CDF or Quantile.')
end



end

